package com.sun.core.common.enums;

import lombok.Getter;

/**
 * @author zhangquanwei
 * @version 1.0
 * @since 2025-02-06 16:24
 */
@Getter
public enum ErrorPrefixEnum {

    COMMON("C", "common异常"),
    ADMIN("A", "admin异常"),
    ;


    /**
     * 前缀标识
     */
    private final String prefix;

    /**
     * 描述
     */
    private final String description;

    ErrorPrefixEnum(String prefix, String description) {
        this.prefix = prefix;
        this.description = description;
    }
}
